#!/usr/bin/env bash

# Filename     :	docker-install-single-etcd.sh
# Last modified:	2023-03-01 12:12
# Version      :
# Author       : jack.zang
# Email        : jack.zang@aishangwei.net
# Description  :
# 使用方法：source <(curl -sL https://gitee.com/jack_zang/public-scripts/raw/master/shell/etcd/docker-install-single-etcd.sh)
# ******************************************************

docker pull bitnami/etcd:3.4.22
# 注意！ 生产环境一定不能在所有网卡无密暴露端口！
docker run -d -p 2379:2379 -p 2380:2380 \
       --env ALLOW_NONE_AUTHENTICATION=yes \
       --env ETCD_ADVERTISE_CLIENT_URLS=http://0.0.0.0:2379 \
       bitnami/etcd:3.4.22









